<header class="header">
    <div class="logo">
        <a href="/" title="PhpBy个人轻博客"><img src="/static/index/images/logoko.png" alt="PhpBy个人轻博客">PhpBy个人轻博客</a>
    </div>
    <ul class="nav">
        {volist name="categories" id="vo" key="k"}
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category {if($category_id == $vo['id'])}current-menu-item{/if}">
            <a href="{:url('index/index/index',['category_alias'=>$vo['alias']])}"><span class="glyphicon glyphicon-{$vo.icon}"></span>{$vo.name}</a>
        </li>
        {/volist}
    </ul>
</header>